package com.ruoyi.common.utils.snowflake;

public class MainTest {
    public static void main(String[] args) {
        SnowflakeIdGenerator idGenerator = new SnowflakeIdGenerator(1); // 传入机器 ID
        long uniqueId = idGenerator.nextId();
        System.out.println("Generated ID: " + uniqueId);
    }
}
